﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Signage01.util
{
    public static class EnumAll
    {
        public enum DirectionScroll
        {
            HORIZONTAL,
            VERTICAL
        }

        public static string getDirectionScroll(this DirectionScroll directionScroll)
        {
            return directionScroll.ToString().ToLower();
        }

        public enum DirectionText
        {
            LEFT_TO_RIGHT,
            RIGHT_TO_LEFT
        }

        public static string getDirectionScroll(this DirectionText directionText)
        {
            switch (directionText)
            {
                case DirectionText.LEFT_TO_RIGHT:
                    return "Left to Right";
                case DirectionText.RIGHT_TO_LEFT:
                    return "Right to Left";
                default:
                    return null;
            }
        }
        
        public enum TextAlignment
        {
            LEFT,
            RIGHT,
            CENTER,
            JUSTIFIED
        }

    }
}
